package com.weng.bigdata.core.warehouse.model.dto;

import java.util.List;

/**
 * 表模型
 * @author wengzhonghui
 * @date 2021/3/24 19:00
 */
public class TableDto extends DbTypeDto{

	/**
	 * 表名
	 */
	private String tbName;

	/**
	 * 表注释
	 */
	private String comment;

	/**
	 * 列
	 */
	private List<ColumnDto> columns;

	/*
	 * 存储格式
	 */
	private String storedFormat;

	//是否有临时表,1是，0否
	private String isOpTableTmp = "1";

	public String getIsOpTableTmp() {
		return isOpTableTmp;
	}

	public String getTbName() {
		return tbName;
	}

	public void setTbName(String tbName) {
		this.tbName = tbName;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public List<ColumnDto> getColumns() {
		return columns;
	}

	public void setColumns(List<ColumnDto> columns) {
		this.columns = columns;
	}

	public String getStoredFormat() {
		return storedFormat;
	}

	public void setStoredFormat(String storedFormat) {
		this.storedFormat = storedFormat;
	}

	public void setIsOpTableTmp(String isOpTableTmp) {
		this.isOpTableTmp = isOpTableTmp;
	}
}
